using System;
using System.Collections.Generic;
using System.Text;
using System.IO;

namespace irc_core
{
    class BaseThread
    {
        public void Init()
        {
            xmlconfig _xmlconfig = new xmlconfig(@".\irc-core.xml");
            DirectoryInfo _di_plugins = new DirectoryInfo(@".\");
            FileInfo[] _fi_plugins = _di_plugins.GetFiles("*.csx");
            plugin[] _p_plugins = new plugin[_fi_plugins.Length];


            for (int i = 0; i < _fi_plugins.Length; i++)
            {
                _p_plugins[i] = new plugin(_fi_plugins[i].Name);

            }

            irc cIRC = new irc(_xmlconfig,_p_plugins);

        }
    }
}
